package cn.tedu.mall1.frist.service.Impl;

import cn.tedu.mall1.frist.mapper.FristMapper;
import cn.tedu.mall1.frist.pojo.eto.LunbotuQuery;
import cn.tedu.mall1.frist.pojo.vo.FristVO;
import cn.tedu.mall1.frist.pojo.vo.LunbotuVO;
import cn.tedu.mall1.frist.service.FristService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FristServiceImpl implements FristService {
    @Autowired
    FristMapper fristMapper;


    @Override
    public List<LunbotuVO> getLunbotu(LunbotuQuery lunbotuQuery) {
        List<LunbotuVO> list = fristMapper.getLunbotu(lunbotuQuery);
        return list;
    }

    @Override
    public List<FristVO> getShouye() {
        return fristMapper.getShouye();
    }
}
